package com.db.patterns.singleton.demo02;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Client {
    public static void main(String[] args) {
        Singleton instance1 = Singleton.getInstance();
        Singleton instance2 = Singleton.getInstance();
        log.info("instance1 == instance2 ? {}", (instance1 == instance2));
    }
}
